Fix the wpt/webrtc/RTCRtpParameters-transactionId test The transactionId field is now required in the WebIDL, so the proper error is now a TypeError. Bug: 803494 Change-Id: Iaf49c2cd192b8ac99678acb74a163670f4c93893 Reviewed-on: https://chromium-review.googlesource.com/1163666 Commit-Queue: Florent Castelli <orphis@chromium.org> Reviewed-by: Henrik Boström <hbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#580887} diff --git a/webrtc/RTCRtpParameters-transactionId.html b/webrtc/RTCRtpParameters-transactionId.html index ac6f6d1..472b043 100644 --- a/webrtc/RTCRtpParameters-transactionId.html +++ b/webrtc/RTCRtpParameters-transactionId.html
@@ -112,9 +112,9 @@ param.transactionId = undefined; - return promise_rejects(t, 'InvalidModificationError', + return promise_rejects(t, new TypeError(), sender.setParameters(param)); - }, `sender.setParameters() with transaction ID unset should reject with InvalidModificationError`); + }, `sender.setParameters() with transaction ID unset should reject with TypeError`); promise_test(async t => { const pc = new RTCPeerConnection();